<?php

namespace app\api\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use app\api\model\Tryride;

class Timer extends Command
{
    protected function configure()
    {
        $this->setName('timer')->setDescription('timer');
    }

    protected function execute(Input $input, Output $output)
    {
        //自动结束试骑
        //Tryride::endtoTryride();

        echo "ok自动任务".date('Y-m-d H:i:s');
        //log_print(date('Y-m-d H:i:s'));
    }
}
